package ar.edu.utn.frsf.cidisi.upcolbpip2pn.generator.petrinet;

public class Instance {
	private static int GlobalInstanceId = 600001;

	private String id;
	private String subPageId;
	
	public Instance(Transition transition){
		GlobalInstanceId++;
		id = "ID"+GlobalInstanceId;
		subPageId = transition.getId();
	}
	
	public static void reset(){
		GlobalInstanceId = 600001;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSubPageId() {
		return subPageId;
	}

	public void setSubPageId(String subPageId) {
		this.subPageId = subPageId;
	}
	
}
